/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package logica;

/**
 *
 * @author Jorge Maldonado
 */
public class convertir {
    public double minToseg(double min){
        return min*60;
    }
    public double minTohr(double min){
        return min/60;
    }
    public double segTohr(double seg){
        return seg/3600;
    }
    public double segTomin(double seg){
        return seg/60;
    }
    public double hrToseg(double hr){
        return hr*3600;
    }
    public double hrTomin(double hr){
        return hr/60;
    }

}
